Skip to main content

eraser

Type

property

Summary

Specifies the shape used for the Eraser paint tool.

Syntax

set the eraser to {<brushID> | <imageID>}

Description

Use the eraser property to specify which shape is painted by the Eraser tool.

The entire area of the eraser cursor is used as the eraser shape. The shape erased by the eraser is cleared to transparent, regardless of what colors might be in the image used for the eraser shape.

When the Eraser tool is in use, the cursor is the same as the eraser shape. You can use any size image as an eraser, but the cursor may appear distorted on some systems if the image is not 16x16 pixels.

Examples

set the eraser to 12

command: choose

function: tool, stacks

glossary: property, current stack, paint tool

keyword: image

property: spray, brush

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?